package com.woniu.book.feign;

import com.ruoyi.common.core.domain.AjaxResult;
import com.woniu.apartment.domain.Bed;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("apartment")
public interface ApartmentFeign {

    @PutMapping("/apartment/tbbed")
    public AjaxResult edit(@RequestBody Bed bed);
}
